/* иконки https://remixicon.com  */
/* WIDGET - STORIES */

/* WIDGET - STORIES - ТИП - ПАНЕЛЬ */
.widget-stories.type-panel {
    position: fixed;
    right: 0;
    bottom: 0px;
    background: transparent;
    max-width: 100px;
    width: 100%;
    height: 100px;
    z-index: 100;
}
.widget-stories.type-panel .stories-slides {
    padding-top: 10px;
}
.widget-stories .image {
    display: block;
    position: relative;
    width: 75px;
    height: 75px;
    border-radius: 100px;
    border: 3px solid #f25b60;
    cursor: pointer;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.widget-stories .image.viewed {
    border: 3px solid #29a9e1;
}
.widget-stories .image:hover {
    border: 3px solid #29a9e1;
}
.widget-stories.type-panel .panel .block-drag {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    opacity: 0;
    display: none;
}
.widget-stories.type-panel:hover .panel .block-drag {
    opacity: 1;
}
.widget-stories.type-panel .panel .block-drag i {
    color: #29a9e1;
    font-size: 18px;
}
.widget-stories.type-panel .panel .block-drag i:hover {
    color: #f25b60;
}
.widget-stories.type-panel .panel .block-close {
    position: absolute;
    top: 0;
    right: 5px;
    cursor: pointer;
    opacity: 1;
    width: 15px;
    height: 25px;
    z-index: 10;
}
.widget-stories.type-panel .panel .block-close i {
    color: #f25b60;
    font-size: 18px;
}
.widget-stories.type-panel .panel .block-close i:hover {
    color: #29a9e1;
}
.widget-stories.type-panel .panel.show {
    position: fixed;
    right: 0;
    bottom: 0px;
    background: transparent;
    max-width: fit-content;
    width: 100%;
    height: 100px;
    z-index: 50;
    border-top: 2px solid #29a9e1;
    border-bottom: 2px solid #29a9e1;
    border-radius: 8px 0 0 8px;
    display: flex;
    background: rgba(255,255,255,0.9);
}
.widget-stories.type-panel .panel .stories-preview {
    width: 75px;
    padding-top: 10px;
    margin: auto;
}
.widget-stories.type-panel .panel .button {
    position: absolute;
    width: 25px;
    height: 100px;
    top: -2px;
    left: 0px;
    border-top: 2px solid #29a9e1;
    border-left: 2px solid #29a9e1;
    border-bottom: 2px solid #29a9e1;
    border-radius: 8px 0px 0px 8px;
    color: #fff;
    background: rgba(41, 169, 225, 0.6);;
    cursor: pointer;
}
.widget-stories.type-panel .panel .button.hide {
    display: none;
}
.widget-stories.type-panel .panel .button:hover {
    background: rgba(41, 169, 225, 1);
    color: #fff;
}
.widget-stories.type-panel .panel .button i {
    position: relative;
    top: 35px;
    font-size: 18px;
    right: -5px;
}
.widget-stories.type-panel .panel .block {
    max-width: 500px;
    width: 100%;
    height: 100px;
    margin-left: 35px;
}
.widget-stories .panel.hide .block {
    display: none;
}

/* WIDGET - STORIES - ТИП - БЛОК */
.widget-stories.type-block {

}
.widget-stories.type-block .stories-slides {
    margin-top: 50px;
    margin-bottom: 50px;
}
.widget-stories .stories {
    display: block;
    position: relative;
    width: 75px;
    height: 75px;
    border-radius: 100px;
    border: 3px solid #f25b60;
    cursor: pointer;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.widget-stories .stories.viewed {
    border: 3px solid #29a9e1;
}
.widget-stories .stories:hover {
    border: 3px solid #29a9e1;
}

.widget-stories .stories-slides.owl-theme .owl-nav {
  margin-top: 0;
}
.widget-stories .stories-slides.owl-theme .owl-nav [class*=owl-] {
  margin: 0 10px;
  padding: 0;
  background: transparent;
  color: #29a9e1;
  border: 2px solid #29a9e1;
  border-radius: 50%;
  display: inline-block;
  width: 55px;
  height: 55px;
  line-height: 55px;
  text-align: center;
  font-size: 35px;
  position: absolute;
  left: -70px;
  top: 45%;
  -webkit-transform: translateY(-45%);
          transform: translateY(-45%);
}
.widget-stories .stories-slides.owl-theme .owl-nav [class*=owl-] i {
  position: relative;
  left: -2px;
  top: 2px;
}
.widget-stories .stories-slides.owl-theme .owl-nav [class*=owl-].owl-next {
  left: auto;
  right: -70px;
}
.widget-stories .stories-slides.owl-theme .owl-nav [class*=owl-].owl-next i {
  position: relative;
  left: 2px;
  top: 2px;
}
.widget-stories .stories-slides.owl-theme .owl-nav [class*=owl-]:hover {
  color: #29a9e1;
  border: 2px solid #29a9e1;
}
.widget-stories .stories-slides.owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  background-color: #D6D6D6;
  border-radius: 50%;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  margin: 0 5px;
}
.widget-stories .stories-slides.owl-theme .owl-dots .owl-dot:hover span,
.widget-stories .stories-slides.owl-theme .owl-dots .owl-dot.active span {
  background: #f25b60;
  width: 30px;
  border-radius: 30px;
}
.widget-stories .stories-slides.owl-theme .owl-nav.disabled + .owl-dots {
  margin-top: 25px;
}
@media only screen and (max-width: 767px) {
    .widget-stories .stories-slides.owl-theme .owl-nav [class*=owl-] {
      margin: 0 5px;
      position: relative;
      left: 0;
      top: unset;
      -webkit-transform: unset;
              transform: unset;
    }
    .widget-stories .stories-slides.owl-theme .owl-nav [class*=owl-].owl-next {
      left: auto;
      right: 0;
    }
    .widget-stories .stories-slides.owl-theme .owl-nav.disabled + .owl-dots {
      position: relative;
      left: 0;
    }
}

/* WIDGET - STORIES - MODAL */
#modal-widget-stories .modal-content {
    background: transparent;
}
#modal-widget-stories .block-stories {
    display: block;
    position: relative;
    max-width: 350px;
    margin: auto;
}
#modal-widget-stories .btn-close {
    position: absolute;
    top: 8px;
    right: 15px;
    color: #fff;
    background: none;
    font-size: 24px;
    opacity: 1;
    z-index: 10;
    box-sizing: initial;
    width: initial;
    height: initial;
}
#modal-widget-stories .block-stories .btn-close:hover {
    color: #f25b60;
}
#modal-widget-stories .stories video {
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
}
#modal-widget-stories .stories a {
    position: absolute;
    color: #fff;
    border: 2px solid #fff;
    left: 0;
    right: 0;
    border-radius: 3px;
    padding: 7px 30px 7px 30px;
    bottom: 110px;
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: max-content;
}
#modal-widget-stories .stories a:hover {
    color: #29a9e1;
    border: 2px solid #29a9e1;
}
#modal-widget-stories .modal-stories-slides.owl-theme .owl-nav {
  margin-top: 0;
}
#modal-widget-stories .modal-stories-slides.owl-theme .owl-nav [class*=owl-] {
  margin: 0 10px;
  padding: 0;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  display: inline-block;
  width: 55px;
  height: 55px;
  line-height: 55px;
  text-align: center;
  font-size: 35px;
  position: absolute;
  left: -70px;
  top: 45%;
  -webkit-transform: translateY(-45%);
          transform: translateY(-45%);
}
#modal-widget-stories .modal-stories-slides.owl-theme .owl-nav [class*=owl-] i {
  position: relative;
  left: -1px;
  top: -6px;
  font-size: 24px;
}
#modal-widget-stories .modal-stories-slides.owl-theme .owl-nav [class*=owl-].owl-next {
  left: auto;
  right: -70px;
}
#modal-widget-stories .modal-stories-slides.owl-theme .owl-nav [class*=owl-].owl-next:hover {
  left: auto;
  right: -70px;
}
#modal-widget-stories .modal-stories-slides.owl-theme .owl-nav [class*=owl-].owl-next i {
  position: relative;
  left: 2px;
  top: -6px;
  font-size: 24px;
}
#modal-widget-stories .modal-stories-slides.owl-theme .owl-nav [class*=owl-]:hover {
  color: #29a9e1;
  border: 2px solid #29a9e1;
}
#modal-widget-stories .modal-stories-slides.owl-theme .owl-dots {
    position: relative;
    bottom: 70px;
}
#modal-widget-stories .modal-stories-slides.owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  margin: 0 5px;
}
#modal-widget-stories .modal-stories-slides.owl-theme .owl-dots .owl-dot:hover span,
#modal-widget-stories .modal-stories-slides.owl-theme .owl-dots .owl-dot.active span {
  background: #fff;
  width: 30px;
  border-radius: 30px;
}
#modal-widget-stories .modal-stories-slides.owl-theme .owl-nav.disabled + .owl-dots {
  margin-top: 25px;
}
#modal-widget-stories .volume {
    position: absolute;
    top: 15px;
    z-index: 100;
    font-size: 30px;
    color: #fff;
    right: 55px;
    cursor: pointer;
}
#modal-widget-stories .volume:hover {
    color: #f25b60;
}

#modal-widget-stories .block-timeline {
    width: 100%;
    display: flex;
    position: absolute;
    z-index: 100;
    top: 1px;
}
#modal-widget-stories .block-timeline .duration {
    background: grey;
    height: 3px;
    z-index: 1;
    width: 100%;
    margin-left: 2px;
    margin-right: 2px;
}
#modal-widget-stories .block-timeline .duration .timeline {
    width: 0%;
    height: 3px;
}
#modal-widget-stories .modal-stories-slides .timeline {
    position: absolute;
    background: #f25b60;
    height: 3px;
    z-index: 1;
}
#modal-widget-stories .modal-stories-slides .time {
    position: absolute;
    top: 3px;
    left: 7px;
    font-size: 14px;
    color: #fff;
    z-index: 1;
}
@media only screen and (max-width: 767px) {
    #modal-widget-stories .stories a {
        bottom: 150px;
    }
    #modal-widget-stories .modal-stories-slides.owl-theme .owl-nav [class*=owl-] {
        margin: 0;
        padding: 0;
        background: transparent;
        color: transparent;
        border: none;
        border-radius: 0;
        -webkit-transition: none;
        transition: none;
        display: inline-block;
        width: 50px;
        height: 100%;
        line-height: 0;
        text-align: center;
        font-size: none;
        position: absolute;
        left: -2px;
        top: 45%;
        -webkit-transform: translateY(-45%);
        transform: translateY(-45%);
    }
    #modal-widget-stories .modal-stories-slides.owl-theme .owl-nav [class*=owl-].owl-next {
        right: -2px;
    }
    #modal-widget-stories .modal-stories-slides.owl-theme .owl-nav [class*=owl-] i {
        display: none;
    }
    #modal-widget-stories .modal-stories-slides.owl-theme .owl-nav [class*=owl-]:hover {
        color: transparent;
        background-color: transparent;
        border: none;
    }
    #modal-widget-stories .modal-stories-slides.owl-theme .owl-dots {
        bottom: 50px;
    }
}